package org.example.sp.entity;

public class user {
     int id;
   String name;
    String charst;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCharst() {
        return charst;
    }

    public void setCharst(String charst) {
        this.charst = charst;
    }

    public user(int id) {
        this.id = id;
    }

    public user(String name, String charst) {
        this.name = name;
        this.charst = charst;
    }

    public user(int id, String name, String charst) {
        this.id = id;
        this.name = name;
        this.charst = charst;
    }

    @Override
    public String toString() {
        return "user{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", charst='" + charst + '\'' +
                '}';
    }
}
